package com.aeoj.clientmanagement.service.impl;

import com.aeoj.clientmanagement.domain.room.Room;
import com.aeoj.clientmanagement.domain.room.dto.RoomSearchDTO;
import com.aeoj.clientmanagement.mapper.RoomMapper;
import com.aeoj.clientmanagement.service.RoomService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 20620
* @description 针对表【aeoj_room(房间信息表)】的数据库操作Service实现
* @createDate 2025-04-21 13:08:57
*/
@Service
public class RoomServiceImpl extends ServiceImpl<RoomMapper, Room>
    implements RoomService {

    @Resource
    private RoomMapper roomMapper;

    @Override
    public List<Long> listRoomIdsByUserId(Long userId) {
        return roomMapper.listRoomIdsByUserId(userId);
    }
}




